package org.xp.judgeplatform.pojo.dto.ProblemSetDTO;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "加入题目集请求")
public class ProblemSetJoinDTO {

    @NotBlank(message = "邀请码不能为空")
    @Size(min = 8, max = 20, message = "邀请码格式不正确")
    @Schema(description = "题目集邀请码", example = "ABC12345", required = true)
    private String inviteCode;
}
